Difference between revisions of "SetCoords Command"
From GeoGebra Manual
m |
|||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude> |
{{command|scripting}} | {{command|scripting}} | ||
;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 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.}} |
Revision as of 10:43, 30 July 2015
- 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 command now works for Sliders, Buttons, Checkboxes, Input Boxes, Images. If "Absolute Screen Position" is selected then x, y are in screen pixels.