How to create 'deselect'

gadgetkk

  • Posts: 2
Hi Everyone,

My game so far doesn't have much going on in it at the moment as i'm mostly just playing around to learn Stencyl.

I've figured out how to do the select process by having an attribute that flags true but i can't figure out how to change the flag if something or nothing is clicked on.

Thoughts how to do this?

JeffreyDriver

  • *
  • Posts: 2180
SCENES > ACTORS > GET ACTOR

There's blocks there to help. You can cycle through each actor of a certain type or group and set the flag to false for all of them before setting the flag for the selected actor to true.
Current Projects:
The Grand Grimoire Chronicles Episode 1 now on Kongregate!.
I always appreciate useful feedback. Thank you.
www.jeffreydriver.co.uk

gadgetkk

  • Posts: 2
Thanks. Is there a way to set left or right click? I only see a 'click' option.