Sorry if this is a dumb question, im very new to construct. So I've been trying to add a local variable under a system event, but every time I right click and go to add, there doesn't appear to be a local variable.
Based on my knowledge not all events provide the option to add a local variable. However, if you encounter one of these (such as the System > On Layout Start) what you can do is add an empty sub event (using the "B" key on your keyboard while highlighting the event you want to add a sub event to) and then right click the empty sub event. You'll find the option to Add a Local Variable available. Note that anything happening BEFORE the empty sub event will not have access to the local variable.
Develop games in your browser. Powerful, performant & highly capable.
Thanks for the tip, it worked, and thanks for the fast reply too.
Glad it worked. Good luck! :)