DgsCenterElement: Difference between revisions
Jump to navigation
Jump to search
(→Syntax) |
|||
Line 10: | Line 10: | ||
===Optional Arguments=== | ===Optional Arguments=== | ||
{{OptionalArg}} | {{OptionalArg}} | ||
*''' | *'''remainX:''' An int of the color of the title text of the window. | ||
*''' | *'''remainY:''' A float of the height of the title of the window. | ||
===Returns=== | ===Returns=== | ||
Returns a dgs window element if it was created successfully, false otherwise. | Returns a dgs window element if it was created successfully, false otherwise. |
Revision as of 18:09, 21 April 2020
Syntax
dgsCenterElement ( element,[ bool remainX, bool remainY ] )
Required Arguments
- element: A float of the 2D x position of the window on a player's screen. This is affected by the relative argument.
Optional Arguments
NOTE: When using optional arguments, you might need to supply all arguments before the one you wish to use. For more information on optional arguments, see optional arguments.
- remainX: An int of the color of the title text of the window.
- remainY: A float of the height of the title of the window.
Returns
Returns a dgs window element if it was created successfully, false otherwise.