ID:2136095
 
Problem description:I have an object.dmi, 32x32 as shown in the picture https://s14.postimg.io/qqgk9rp6p/image.png It's the black-colored square. The blue is just the transparency. I use:

obj
shapeA
icon = 'object.dmi'
MouseEntered()
world << "Mouse Entered."


As soon as I enter the mouse on any of the black, "Mouse Entered" is printed, which is just fine. Now, there is a 22x5 transparent area above the black square, like the pink area in pic https://s9.postimg.io/6fy49h7sf/image.png . I am trying to make a MouseExited function where, as soon as the mouse leaves the black square but not the pink (just blue in pic) then something else is printed.

However, I have no idea how to implement this... Any ideas?
Thanks a lot
You need to use two objects and overlay them.