Difference between revisions of "SetCoords Command"
From GeoGebra Manual
({{Note| This also works for Points on paths and in regions. The Point will be moved to the closest possible place}}) |
|||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} |
− | {{command|scripting}} | + | ;SetCoords( <Object>, <x>, <y> ) |
− | ;SetCoords | + | :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]] | + | {{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.}} |
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.