Como faço para clicar em um retangulodx e aparecer outro painel, novos retangulos sobre aquele? Tentei muitas maneiras como a do exemplo abaixo.
function lojadx (button, state)
if aa == true then
if button == "left" and state == "up" then
if isMouseInPosition(screenW * 0.1320, screenH * 0.2917, screenW * 0.3859, screenH * 0.0431) then
loadloja()
nada funciona.