Auto-translated
SetObjectPosition, refer to the manual to see how this function works.
Regarding the timing – what is it tied to? Most likely, you will need to use a Trigger, but you can find more details in the manual, including information about this function.