Make a variable call it canbeclicked, set it to 0.
Make a variable comparison, variable canbeclicked =1 do stuff
Set the things you want to be clickable to 1
If they are different objects use a family variable.
Otherwise you would go by the zorder...