# A Timer Running Repeatedly Previously, the [Timer](https://docs.rs/bevy/latest/bevy/time/struct.Timer.html) triggers an event once and then stops. We can make a [Timer](https://docs.rs/bevy/latest/bevy/time/struct.Timer.html) repeating by [TimerMode::Repeating](https://docs.rs/bevy/latest/bevy/time/enum.TimerMode.html#variant.Repeating) so that it triggers events periodically. ```rust Timer::from_seconds(0.5, TimerMode::Repeating) ``` In the following example, we rotate a [RegularPolygon](https://docs.rs/bevy/0.12.1/bevy/prelude/shape/struct.RegularPolygon.html) every 0.5 seconds. ```rust fn polygon_rotates( time: Res