Сursor and transparent area

How do I understand that there is a transparent area of the sprite under the cursor?

You can’t do this with GDevelop actions - you’ll have to do it with a JS event. Check out this thread, it deals with a similar issue.