Hi there, i was wanting to make a skin execute the code below 10 seconds after a 'LeftMouseDownAction' has been performed.. is that possible? if so, how?
Here's the code i want to execute 10 seconds after a 'LeftMouseDownAction' has been performed
First things first, that skin has an update of 1. That is WAY too often. If you really need a quick update, you should try and have it at 100 as a minimum.
As for the delay, you're going to first want to add a measure like this:
Once it's enabled, it will count up from zero. If you set the update to 100, then this measure should take 10 seconds to reach a value of 100. Once it does, it will perform all of your actions, then disable itself. Then on the meter with the mouse action, all you need to do is enable that measure: