You need to add some editable hotspots - one for the x position and one for the y position.
Then you use those co-ordinates to place your text object.
This will give you a stretchy hotspot in plan allowing you to move the text around.
See if this info from GDL Center helps.
In particular you want the example for ... “pointDistX” and “pointDistY”.
http://gdl.graphisoft.com/gdl-basics/hotspots-graphical-editing/
If you have more questions you can ask there or here.
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