Hi hi brothers (^.~).

I am needing a small help:

Somebody could help me to create plus a function in this example of menus?


My problem is the following one:

I need create a function that check if mouse its on or not on the panel of bags.

This because my Game is RPG in the style click and Point

and when i click in the panel of bags. the player understand that I am giving a coordinate and leaves walking equal insane person for the world .... lol.

Having this function, I go to be able to create a condition my to player and thus I go to be able to correct the defect.

I am trying to create however I am not having success in the same
The reason of my imperfections must to mine low knowledge on structures.

Please. They help me only with this example and I am certain that studying the same I go to obtain to create my proper functions on the same.

Tanks very much!>.
Arigatouuu
Obrigado (^.~)
Gracias!


Please! Use easy words to be translated. because my English is not very good! Grateful.
_______________________________________________________