DModelPanel.GetAnimated

From GMod Wiki

Jump to: navigation, search
Function
Syntax DModelPanel.GetAnimated( )
Description:
Returns if the model is animated or not
Returns: Boolean
In Object: DModelPanel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DModelPanel.GetAnimated]DModelPanel.GetAnimated [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionReturns if the model is animated or not.
Used onNewerClient.png
Code
local DModelPanel = vgui.Create( "DModelPanel" )
 DModelPanel:SetAnimated(true)
print(DModelPanel:GetAnimated())
OutputReturns "true" in the console.


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox