PropertiesSectionKeyBehavior
Package: Libraries.Interface.Behaviors.Scenes.Properties · Inherits from: Libraries.Language.Object, Libraries.Interface.Behaviors.Behavior
The PropertiesSectionKeyBehavior closes or opens the section of a scene editor's Properties panel that the focus is in. Closing moves the focus to the section's header; opening moves it to the section's first control. The scene editor's input tables give it Alt+Shift+Up to close and Alt+Shift+Down to open by default (SceneEditorKeys:GetPropertiesSectionCloseKey and GetPropertiesSectionOpenKey). It does nothing when the panel shows one section.
Actions
IsOpening()
Returns whether this behavior opens sections or closes them.
Returns
boolean: True if it opens
Run(Libraries.Interface.Events.BehaviorEvent event)
Returns whether this behavior opens sections or closes them.
Parameters
SetOpening(boolean value)
Sets whether this behavior opens sections or closes them.
Parameters
valueboolean: True to open, false to close