Stats
Inherits Instance.
A service: the global Stats is the game's one Stats.
Properties
| Name | Type | Notes |
|---|---|---|
FrameTime | number | Read-only. Not saved in places. |
FramesPerSecond | number | Read-only. Not saved in places. |
InstanceCount | number | Read-only. Not saved in places. |
PartCount | number | Read-only. Not saved in places. |
PhysicsStepTime | number | Read-only. Not saved in places. |
Methods
GetProfile(): {{Name: string, Depth: number, Time: number, Calls: number}}GetTotalMemoryUsageMb(): number
Inherited
From Instance: AddTag, AncestryChanged, Archivable, AttributeChanged, Changed, ChildAdded, ChildRemoved, ClassName, ClearAllChildren, Clone, DescendantAdded, DescendantRemoving, Destroy, Destroying, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, GetDescendants, GetFullName, GetPropertyChangedSignal, GetTags, HasTag, IsA, IsAncestorOf, IsDescendantOf, IsPropertyModified, Name, Parent, QueryDescendants, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild.