now the object is comming behind another obkect randomly on time i want to test if the object behind the object is hit by the mouse. Problem is that the the other object covers the object behind it partly. If this is true, then the object behind it should not give true on the hittest.
i tried some combinations as
if(_root.object1.hittest(_root._xmouse, _root._ymouse) = false && _root.object2.hittest(_root._xmouse, _root._ymouse) = true){
action
}
this did’t work. This is not the excact code, i removed that, but this is how i set it up.
some help pleaze?