TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
I want to to show an actor when another actor is clicked on
Pages:
1
I want to to show an actor when another actor is clicked on
kobebeef415
Posts: 12
September 18, 2020, 07:50:23 pm
I cannot find this anywhere
JeffreyDriver
Posts: 2262
September 19, 2020, 01:54:59 pm
When mouse is pressed over ACTOR
Create OTHER ACTOR at X/Y
Current Projects:
The Grand Grimoire Chronicles Episode 3
Twitter@JeffreyDriver
apps.jeffreydriver.co.uk
kobebeef415
Posts: 12
September 19, 2020, 05:57:10 pm
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
September 19, 2020, 05:59:44 pm
i did the not clicked on part just need the repeat hide and show for the new actor
Luyren
Posts: 2807
September 19, 2020, 06:12:01 pm
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
September 20, 2020, 03:48:54 pm
nevermind I figured it out, I should've been using the scene event instead of a behavior for an actor
Pages:
1