HOW? Is There A Way To Disable The Behavior Of Actor Type?

krazziebone02

  • Posts: 113
i hope there a way to do that....
i want to be the best user of stencyl

mdotedot

  • Posts: 1654
Hello Krazziebone02,

You can enable/disable behaviors on actor types.

In this example I created an actor behavior called 'ab' and it had a draw event in it drawing 'Hello' on the actor.
In a scene input->mouse->pressed event I put this code:




Starting the game it shows hello on the actor and clicking on the screen makes it disappear.

Hope it helps.

Best regards from
M.E.
Proud member of the League of Idiotic Stencylers! Doing things in Stencyl that probably shouldn't be done.

krazziebone02

  • Posts: 113
ok sir thanks a lot
i want to be the best user of stencyl