Changing scenes on button release

JackBQuickJackBQuick Member Posts: 524
edited November -1 in Working with GS (Mac)
I just solved something that may help others.

A little while back, synthesis recommended this to be placed within a button to change scenes:

--------------------

When Touch is INSIDE >>>
.....RULE (2): When Touch is RELEASED >>>
...........change scene

--------------------

This is more forgiving because it allows the user to press a button and, if he changes his mind, to drag his finger out and release it without triggering the action (in this case, changing scenes).

This worked in 0.8.9 but it didn't seem to work in 0.9.0: I would click on the button and nothing would happen.

However, when I pulled the Touch is RELEASED rule and placed it by itself like this:

--------------------

When Touch is INSIDE >>>
.....do something

When Touch is RELEASED >>>
.....change scene

--------------------

it worked!

Comments

Sign In or Register to comment.