Prevent clicking an actor THROUGH another actor?

aaron.agemaaaron.agema Member Posts: 2
edited February 2016 in Working with GS (PC)

Hello,

I've been on a quest recently to make a classy scrolling list type of thing. I looked thoroughly through the forums and found lots of useful ideas, and was able to combine them into this simple interface, and it scrolls the actor wonderfully. As you can see from my image, I planned to use actors on a higher layer to "hide" the parts of the ActorToBeScrolled. This works for hiding it visually, but I can still click ActorToBeScrolled THROUGH ActorToHide_Top or ActorToHide_Bottom, which is not a desired effect. Does anyone know of a setting or a way to trick GS so that I can't click ActorToBeScrolled through the layers that are hiding it?

Thanks in advance for the help!

-Theagemaway

Comments

  • gingagaminggingagaming FREELANCE GS DEV Member Posts: 1,685

    As you didn't attach the image its hard understand exactly what you want here but an easy way to detect an actor on the top layer is very skilfully demonstrated by @RThurman here in a project he generously donated to the community a while back:

    http://forums.gamesalad.com/discussion/comment/436263#Comment_436263

  • aaron.agemaaaron.agema Member Posts: 2
    edited February 2016

    Thank you @gingagaming for giving me the exact help I needed, despite my noob mistake! lol. I thought I had the image attached, but it seems my forum skills are as lacking as my GS skills. The example you pointed out was almost exactly what I needed, just a couple small modifications to make it work for my case!

Sign In or Register to comment.