Delay of skin actions

Q&A about the latest versions
Post Reply
vasja64
Posts: 10
Joined: Mon Jan 10, 2011 2:35 pm

Tue Feb 09, 2021 11:11 am

Hello!
Is it possible to delay one of skin actions? For example: If i added two actions - "position" and "scale" to a button when i click on it - it execute both actions at same time. I want to execute moving first and after the object stops it should resize...

Thanks!
User avatar
Hopki
Gnome
Posts: 11116
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Tue Feb 09, 2021 12:44 pm

Hi,
You would use a timer, set to one time.
A timer can have Activate and Deactivate actions.
If the timer was set to Manual, the first action would be:
Activate, Change Element Position.
Deactivate, Change Element Scale

The button would need to have the action Set Value which would have the duration in seconds on the delay and target the timer.
So on click, the set value action would activate the timer which would move the element, then on timeout, it will deactivate so will then scale the element.

Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply