The hidden layer is clickable, how can I change this so that I can no longer click on it? I have several layers please help
Thanks for your answer, how exactly do I have to do that? I didnât really understand it. I tried your example but somehow it didnât work
Create a new event
Layer name is visible
Left button is released
Then put all of the events that use that layer and the button was released as a sub events of it. That way it only needs to check the layer once and the button was released conditions once. Plus when the layer is hidden it will skip over all of the sub events. Thereâs no sense in checking it repeatedly since itâs not going to change during that frame.
Layer name is visible
Left button is released
----cursor is on GN | actions
----cursor is on GN3 | actions
EtcâŚ
Stop it Your just making it more confusing! Let me explain you @U.CGames .If your saying that the the objects on the layer are still clickable then i can help you because you cannot click a layer.Send a picture of the events of objects in the layer that are clickable please.Also send me the link to your game if you dont mind.
Iâm going on the assumption that the object youâre clicking is on the hidden layer. In which case, this is a solution for the event conditions:
Thats laterally what i did
Itâs similar, but not exactly the same by any stretch. Iâve included the layer of the clicked object, rather than use the base layer. Youâll notice how OP shows and hides a number of layers. I showed a simple way to check if an objectâs layer is visible.
my layer is not recognized when I use .Layer(), it only works with âLayerâ but that doesnât help because the problem still exists and then my cursor/touch no longer works
oh .layer() worked but the problem hasnât been solved. I think itâs due to the actions right? here is a screenshot
Can you share link of game? Please
I donât send a link to the game sry
I would like to know what has to be in action
Can you check and confirm that GN, GN3, GN5 & GN7 are on different layers?
Otherwise the events look fine. Could the issue be somewhere else? You can check this by disabling the events you have screen snipped and seeing if the issue still remains.
Just make it that the objects in the layer are only interactable when the layer is visible