I want to use a ui image, create a custom physics shape, then be able to hover over the custom shape to display a tooltip. Is this possible? Such as a ui image that’s shaped like a diamond without using the square bounding box collision.
No, you cannot get the UI’s graphic raycaster to detect arbitrary shapes. It works on rectangles only.
But there is a workaround.
Create invisible (alpha = 0) images that better approximate your shape and let their raycast hits bubble up.