question 1
The meaning of mc.mcCntlSetPoundVar (inst, mc.SV_HEAD_SHIFT_Y, YShift) is shown in the picture. Is this way of thinking all right?
I'm using Mach4 Hobby.
Question 2
Is it okay if the script without using the button is as follows?
function YShift ()
YShift = 10
mc.mcCntlSetPoundVar (inst, mc.SV_HEAD_SHIFT_Y, Y Shift)
if (mc.mcInEditor () == 1) then
YShift ()
end