Garry's Mod Wiki

Revision Difference

DFrame:SetScreenLock#550192

<function name="SetScreenLock" parent="DFrame" type="panelfunc"> <ispanel>yes</ispanel> <description>Sets whether the DFrame is restricted to the boundaries of the screen resolution.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="lock" type="boolean">If `true`, the frame cannot be dragged outside of the screen bounds</arg> </args> </function>