-SOLVED-How to make hidden objects unclickeable

Hi,

Basicly that, how to make hidden objects unclickeable UNTIL they show up.

Thanks.

1 Like

well there are plenty of ways to do that, you can either create the objects when you need them to show up, that way the object wont be in the scene before it needs to be and therefore could not be clicked.

Condition: if player collides with trigger
Action: create object at position(x,y)

or

you just use a variable to control its behavior and place the object where you want it to be

Condition: At the beginning of scene
Actions: hide object
Condition: if player collides with trigger
Action: Variable trigger = true
show object
Condition: if Variable trigger = true
cursor is on object
Action: do … actions

You get the idea :slight_smile:

Thanks! I’ll give this a try-.

There are also conditions to check if an object is visible or hidden, so just add an “is visible” condition to your click event.