Control layers

I have a canvas onto of an imagewell but can’t get the canvas events to fire. Simple example here where it won’t perform what is in PointerUp

Where does this go and why is it necessary?

Ok that makes it work but why does the Canvas events stop working when it is sitting on the imagewell?

Actually, you can make this work without a Declare. The problem is that the Canvas’ parent is set to the ImageWell and the ImageWell isn’t sending the events down to the Canvas. The trick is to set the Canvas’ parent to not be the ImageWell.

You cannot just say Canvas1.parent = nil as that is a read-only property but try laying the Canvas out first, then the ImageWell. Set the positioning using the Auto-Layout properties - do not drag the controls around the layout editor. I have modified the project but I don’t use Dropbox anymore so let me know if you want me to email it to you.

Thanks Gavin

EDIT : NJP removed email address from post

Hey Martin, email on its way. You might want to edit your post and remove your email address to avoid the legions of spambots - I meant to ask you to PM your address.