Garry's Mod Wiki

Log in to edit

DImageButton:SetDepressImage

<function name="SetDepressImage" parent="DImageButton" type="panelfunc"> <description> Controls whether <page>DImageButton:DepressImage</page> is functional or not. </description> <realm>Client and Menu</realm> <args> <arg name="enable" type="boolean">`true` to enable image depressing when clicked.</arg> </args> </function>