Blocking touching actors during animation of another actor

tpadtpad Member Posts: 2
edited November -1 in Working with GS (Mac)
Hello y'all!

I've been designing a puzzle game for some weeks now and I've run into a major bug: In this puzzle game the player touch one actor and after it finishes an animation it affects all others, but the player must not touch the other actors while the animation and the chain reaction is happening.

I've thought of a way to solve this, but it doesn't seem to work: when the actor is touched I spawn another actor that overlaps everything (the size of the screen) and doesn't let touches passthrough. The issue with this solution, though, is that the touches do passthrough it (of course it's in the front of everything). Is there a way to use this as a solution? Or is there any other way you can think of and help me solve this bug?

Thanks so much!

Comments

Sign In or Register to comment.