Difference between revisions of "SetCoords Command"

From GeoGebra Manual
Jump to: navigation, search
m
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}}
 
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{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 16:16, 7 October 2017


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.
© 2024 International GeoGebra Institute