I tried to make a thing where the sprite draws some text on the screen, meanwhile calculating the exact position area of the text (the block reports a list, [[start of x pos], [end of x]], [start of y], [end of y]]). I want to make the program detect when the mouse is pressed down on the certain area, and respond differently when a certain area is clicked.
This problem can be simplified to: there are some (in this case, let's say 4) areas on the screen, each with a list with the area in this structure: [[start of x pos], [end of x]], [start of y], [end of y]]. Now when the mouse clicks on one, give a response.
I wouldn't do it that way at all. I'd create a sprite for each of those texts whose costume is the text, or whose costume is a transparent rectangle covering the text, and then use WHEN I AM CLICKED on each sprite.