Passing data (variables) between handlers in Studio?

Hi,

Currently I’m using global variables to allow data to be passed between event handlers (on clicked etc) as I couldn’t think of any other way.

Is there a better way or is this the only way to pass data around in Studio?

Brad