Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:2.00

Description

Description:Sets the current position of a progress bar.

At 0, none of the bar is visible; at 1, the full bar is shown. If an image is used for the bar, it is not compressed to fit into the current bar length, but instead the "non-active" part is hidden.

Syntax

Syntax:control progressSetPosition progress
Parameters:
  • control: Control - Control of type progress bar.
  • progress: Number - How much of the bar should be visible (0-1).
Return Value:Nothing

Examples

Examples:_control sliderSetPosition 0.25

Additional Information

See also: progressPosition
Multiplayer:
Problems:

Notes