Creating custom shapes on ImageLabels

I would like to know if there is a way to create ImageLabels without a “square” type shape?

Here’s a better idea of what I’m trying to say:

The game mechanics here are simple, the longer you hover your mouse over the animatronic, the less transparent he gets. When he’s fully visible, he will attack.

The problem is, the characters boundaries.

If the player hovers ANYWHERE in this box, it will count as a MouseHover, even though they are not ACTUALLY hovered over the animatronic itself.

I want to know if you can make custom shapes, so that I can basically carve out the animatronic.

I’m aware that there’s probably a plugin out there that allows you to do so, but otherwise the only way you can make custom image shapes is either making that image a .png or using objects and ViewportFrames.

well since you’d only need to hover on its face, you could use a rotated frame with UICorner as the hitbox (could also stack more frames and loop over them to use it as 1 hitbox if nessecary)

Well it’s not just his face, though. I want his full body to be included, just not the transparent spots.

He has 4 different possible images, which are all completely different looking.

1 Like

It is a png, I took it straight from the original game files. Viewport frames aren’t really an ideal solution to me, also.

1 Like

well if it’s not just the face you could just do the same thing as the face (for each image)
use frames with UICorner to represent the hitbox then loop over all of them to check if the player hovered

1 Like

You can create a hitbox system by using small invisible individual frames on the image itself. That way, you can make it as precise as you wish.

1 Like