SetWebLocation: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|SetWebLocation(web, x, y [, z])}} {{FuncParameters}} {{FuncParam|web|__EDIT_ME__}} {{FuncParam|x|_..." |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Set the location for the specified web.}} | ||
{{FuncSyntax|SetWebLocation(web, x, y [, z])}} | {{FuncSyntax|SetWebLocation(web, x, y [, z])}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|web| | {{FuncParam|web|The web identifier}} | ||
{{FuncParam|x| | {{FuncParam|x|The X axis}} | ||
{{FuncParam|y | | {{FuncParam|y |The Y axis}} | ||
{{FuncParamOptional|z| | {{FuncParamOptional|z|The Z axis. Only used if this is a WebUI3D.}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns '''true''' on success.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
SetWebLocation(webId, 0.0, 0.0) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{WebFunctions}} |
Latest revision as of 18:20, 23 January 2020
Description
Set the location for the specified web.
Syntax
SetWebLocation(web, x, y [, z])
Parameters
- web
The web identifier - x
The X axis - y
The Y axis - z (optional)
The Z axis. Only used if this is a WebUI3D.
Return Value
- Returns true on success.
Example
SetWebLocation(webId, 0.0, 0.0)