AbsoluteSize (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>MrNicNac
Gave clarification one what was in pixels.
>Legend26
No edit summary
Line 1: Line 1:
{{local}}
<onlyinclude>{{Property
<onlyinclude>{{Property
|name = AbsoluteSize
|name = AbsoluteSize
Line 9: Line 11:


== Limitations ==
== Limitations ==
Takes 1.3 seconds to initiate on join, and .3 of a second on respawn. Only LocalScripts see the absolute size, normal scripts AbsoluteSize is set to Vector2.new(0, 0).
* Takes 1.3 seconds to initiate on join, and a third of a second after respawning.  
* Only LocalScripts see the true absolute size. For normal scripts, the AbsoluteSize is Vector2.new(0, 0).


[[Category:Properties]]
[[Category:Properties]]

Revision as of 04:03, 6 January 2012

Local: This item should be used with a LocalScript in order to work as expected in online mode.
AbsoluteSize
Property Vector2 AbsoluteSize
Description Size of the render window in pixels.
Member of GuiBase


Limitations

  • Takes 1.3 seconds to initiate on join, and a third of a second after respawning.
  • Only LocalScripts see the true absolute size. For normal scripts, the AbsoluteSize is Vector2.new(0, 0).