Extract Layer Property

image

It would be handy to be able to extract which layer an object is being displayed on

3 Likes

what could this be used for?

Well for example, I’m making my own ‘hover’ and click code. I want to make it so that only the object on the top layer is clicked.
I’m sure there are many other things you could do with comparing layers between objects.

5 Likes

technically you could use Display Order to manually set it and put that value into an Object Value, this will be a global only to itself so you could use that as a fake extractor

1 Like

Yeah I was thinking of just setting a variable for each object, but it’d be kind of annoying. Especially since I like to set the layer in the object editor instead of the behaviors.

2 Likes