[Solved] Outlining won't work no matter what I do :(

I did do a custom collision mask but it’s still not working

Can you post a pic of the collision mask? So, we can see what you’re using.

Here:

Oh and no I’m not using a phone or anything I’m using a laptop

Is there an exclamation mark error below the list of points? The top part of the mask looks concave. If mask is not convex, it will ignore the custom mask. If it is showing an error, you need to make the top straight.

What @Keith_1357 wrote is correct. To add to that, you can define multiple collision masks/areas for a sprite.

So instead of this which brings up the error:


create multiple collision masks by clicking on the “Add collision mask” button to create more collision boxes (the masks can overlap, I just didn’t here so it’s easier to see and understand):

Oh yeah I think that’s the problem, thanks! Do you think making the mask bigger or smaller is better? (so that the top is straight)

Oh I see, thank you!

I don’t think it matters. Unless you think people will need to click that close to the edge. I think most people (including me) overestimate the need for a perfectly matching collision mask. It’s usually just a few pixels.

Ok thanks! Though the hovering still doesn’t work when I do preview, idk what the problem is.

Can you post a pic of your current events?

Here:

It should work. You changed the animation so it’s not concave? And if the animations don’t share the same collision mask, you adjusted it for both animations?

Can you post a pic of your scene? I’m running out of ideas.

To add to @Keith_1357 request, can you also add screen shots of the collision masks for both animations?

The collision mask is set to apply for both so it’s the same as the screenshot I sent :')

Here!

The collision mask in your screen shot was incorrect.

And what do you mean exactly when you say hover doesn’t work? The animations don’t change, or something else?

I changed the collision mask so it’s 2 collision masks now:

And the animations do change but the white outline only goes away when the mouse is completely off the game screen. It’s supposed to change when it’s off the object

I could’ve sworn I tested your code. I must not have used a mask. **cursor is on object" ignores the collision mask. It just checks the bounding box. You can use point is inside

It looks like it the condition did use the mask in v4 but it was removed. The accurate option does nothing and was planned for removal.

Tysm! Though I’m confused as to how I’m supposed to set the “point is inside” up. The thread you linked says I have to crate a spirte for the mouse?