Garry's Mod Wiki

Garry's Mod Wiki

  DSlider:ResetToDefaultValue()

Recently Added

This was recently added in version (2024.05.02). It might only be available on the Dev Branch right now.

Description

This function is called by the DSlider when user middle mouse clicks on the draggable knob of the slider.

You are meant to override this function to do reset the slider to desired defaults on both axes.

By default, will reset the slider to 0.5 on both axes.

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 twice a day. Edits and history are not available.

Last Parsed: Loading...