EXPAND ALL
  • Home

px.milliseconds

Gets the specified number of milliseconds.

Arguments

NameTypeDescription
unitintThe number of milliseconds to render.

Returns

px.Duration: Duration representing unit milliseconds.

Examples

# Returns 2 milliseconds.
time = px.milliseconds(2)

This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.