# IntervalSystem
Sometimes you might want to make a system not run every tick, but at constant intervals. Rather than messing about with setEnabled() you can extend the IntervalSystem class and implement its updateInterval() method.
@Service()
class TickSystem extends IntervalSystem {
private tick = 0;
public constructor() {
super(0.016);
}
protected override updateInterval() {
this.tick++;
}
}