Function roblox::function::elapsed_time[][src]

pub fn elapsed_time() -> f64
Expand description

Equivalent to number elapsedTime() in Luau.

Returns

How much time has elapsed since the current instance of Roblox was started.

In Roblox Studio, this begins counting up from the moment Roblox Studio starts running, not just when opening a place.