Difference between revisions of "SetCoords Command"
From GeoGebra Manual
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
({{Note| This also works for Points on paths and in regions. The Point will be moved to the closest possible place}}) |
||
Line 2: | Line 2: | ||
;SetCoords( <Object>, <x>, <y> ) | ;SetCoords( <Object>, <x>, <y> ) | ||
:Changes cartesian coordinates of [[Free, Dependent and Auxiliary Objects|free]] objects. This command uses values of the coordinates, not their definitions, therefore the object stays free. | :Changes cartesian coordinates of [[Free, Dependent and Auxiliary Objects|free]] objects. This command uses values of the coordinates, not their definitions, therefore the object stays free. | ||
+ | {{Note| This also works for Points on paths and in regions. The Point will be moved to the closest possible place}} | ||
{{Note| This command now works for Sliders, Buttons, Checkboxes, Input Boxes, Images. If "Absolute Screen Position" is selected then ''x'', ''y'' are in screen pixels.}} | {{Note| This command now works for Sliders, Buttons, Checkboxes, Input Boxes, Images. If "Absolute Screen Position" is selected then ''x'', ''y'' are in screen pixels.}} |
Latest revision as of 08:32, 11 September 2019
- SetCoords( <Object>, <x>, <y> )
- Changes cartesian coordinates of free objects. This command uses values of the coordinates, not their definitions, therefore the object stays free.
Note: This also works for Points on paths and in regions. The Point will be moved to the closest possible place
Note: This command now works for Sliders, Buttons, Checkboxes, Input Boxes, Images. If "Absolute Screen Position" is selected then x, y are in screen pixels.