unit


unitstring

Sets or gets the unit of a slider's numeric input.

A panel slider can only have one of the following unit values:

  • "NUMBER"
  • "PERCENTAGE"
  • "PIXELS"
  • "ANGLE"
Did this help?