Make it so that the wall gets an outline when hovered with the mouse?
What is the expected result
The walls should show normally when the mouse isn’t on any of them and when I hover over them with the mouse they should get a white outline, when clicked they should change to a different image of the wall zoomed in from a parallel perspective
What is the actual result
When I start the preview, it’s either always outlined or never outlined. I don’t know what I’m doing wrong, I’ve tried all the methods: with animations, with buttons and with just hiding and showing the outlined image, nothing works.
I did it and it still doesn’t work, the outline only goes away when the cursor is off the game screen. Seems like it counts the whole screen as the wall
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.
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):
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.
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.