Your dimensions will associate to it if you dimension the hotspot.
When it moves your dimension will move.
If you hard code the ID the dimension will stay fixed to that hotspot so long as the hotspot is there.
If you incrementally number that hotspot (i.e. HSID = HSID + 1) and that ID number of the hotspot changes (because of IF/THEN, GOSUBS, etc.), then you will lose the associated dimension and possibly the dimension will re-associate to a new hotspot with the original ID.
So If you are adding IDs to your hotspots you are better of (in my opinion) to hard code the ID numbers to them (unique for every hotspot).
Or you have to be very careful in your scripting that your hotspots do not change their ID number.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11