I am using this to detect the right and left side of an object:
if(right.hitTest(_x, _y, _root.ground)) {
// do stuff
}
I used this multiple time in other occasions, but for some gay reason, it isn’t working. It’s only working if I say:
if(right.hitTest(_root.ground)) {
// do stuff
}
But, as you most likely know, doing it this way will detect that blue outline around the MC. Does anyone have any other way to detect left and right sides of movie clips or have any idea how to solve this using hitTest? This is really pissing me off