Garry's Mod Wiki

Garry's Mod Wiki

  boolean Panel:IsSelected()

Description

Returns if the panel object is selected (like icons in the Spawn Menu, holding ⇧ shift). This can be set in Lua using Panel:SetSelected.

Returns

1 boolean
Whether the panel object is selected or not. Always returns false if the object is not selectable. This can be modified using Panel:SetSelectable.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...