HitTest Function

#1

I cannot use any item for hitTest. Say I have a clip called "Bleeb"that I want to collide with another object, it will not work.

if (this.hitTest(Bleeb) && if KeyDir ===1 {
}
Any help?

2 Likes

#2

Please take a look at this quick project I made that should show you how to make a hitTest event.

My Project (1).wick (1.8 KB)

if you need any further explaination, don’t hesitste to ask!

2 Likes

#3

Thanks for the help! :smile:

2 Likes

#4

No problem! Always
happy to help!

1 Like