I want to to show an actor when another actor is clicked on

kobebeef415

  • Posts: 12
I cannot find this anywhere

JeffreyDriver

  • Posts: 2262
When mouse is pressed over ACTOR
Create OTHER ACTOR at X/Y

kobebeef415

  • Posts: 12
thank you for your reply, but I'm also trying to have it where the new actor will hide when not clicked on the new actor and also show again when clicked on the original actor on a repeat cycle. (I'm trying to make a ui interface)

kobebeef415

  • Posts: 12
i did the not clicked on part just need the repeat hide and show for the new actor

Luyren

  • *
  • Posts: 2807
After creating your actor, store it in an "Actor" attribute. You can then later target that attribute to use whatever you want with your actor (either hide it or kill it when not needed).
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.

kobebeef415

  • Posts: 12
nevermind I figured it out, I should've been using the scene event instead of a behavior for an actor