As Piotr said the unID (unique ID) or hsID (hotspot ID) is just a unique number to identify the hotspot.
Each hotspot (in the entire script) needs to have a unique number.
You can even just type the number (1,2,3, etc.) but the unID+1 is just a way to ensure the number is unique and you don't have to check what you have used.
The co-ordinates are just your x and y values (z as well in 3D).
The 'moving' hotspot (flag code 2) will have the parameter you are adjusting as one of those co-ordinates.
The base hotspot (flag code 1) are the co-ordinates your want to measure the move from.
The vector hotspot (flag code 3) is a co-ordinate in the opposite direction to the point you are moving.
So if moving the x co-ord you would make x -1 here, if moving y co-ord you would make y -1.
The flag code tells the hotspot what it is (moving, base, vector) and has some additional values to hide (+128) some of the hotspots or +256 for hotspot 1 (base) will make the base an adjustable hotspot as well.
disparam (display paramerter) is optional and allows you to display another parameter other than the one you are adjusting - I wouldn't worry about this just yet.
Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11