it might be easier if you used spritetouchingxy command instead of click areas
in mousedown:
if spritetouchingxy(spritenumber, mousex, mousey)=true then
code
end if
have numerous actions for one mouse button can get tricky, you might be better off with just clicking the item to either use it or equip it, dont bother with reorganizing. an easy way to show an item is equiped is by highlighting it with paint commands, when clicked:
let equipsprite=spritenumber
then in the global paint event, in one line of code this will highlight the item
setpensize 3,3
setpencolor 0,250,0
if spritevalid(equipsprite)=true then drawrect spritex(equipsprite), spritey(equipsprite), spritewidth(equipsprite), spriteheight(equipsprite)