the hotspotediting doesn't works if GLOB_CONTEXT = 2
use this eg.:
unID = 1
if GLOB_CONTEXT = 6 then
line2 0,0,poz1,0
else
rect2 0,0,poz1,poz1
hotspot2 0,0, unID, poz1, 1+256 ,poz1 : unID=unID+1
hotspot2 poz1,0, unID, poz1, 2 ,poz1 : unID=unID+1
hotspot2 -0.1,0, unID, poz1, 3 ,poz1 : unID=unID+1
endif