# Tick

`com.jsmacrosce.jsmacros.client.api.event.impl.world.EventTick`

**Since:** 1.2.7

**Cancellable:** No. Calling `event.cancel()` throws `UnsupportedOperationException`.

Fires after the key-macro check, tick synchronizer, and server-list pinger on each client tick.  
It fires without a player or loaded world.  
```js
const listener = JsMacros.on("Tick", JavaWrapper.methodToJava(function () {
  // runs on each client tick
}));  
// later
JsMacros.off(listener);  
```

## Constructors

### new EventTick {#com.jsmacrosce.jsmacros.client.api.event.impl.world.EventTick_constructor-}

```js
new EventTick()
```

Initializes this event with the client core; it does not fire the event.

## Methods

### toString {#com.jsmacrosce.jsmacros.client.api.event.impl.world.EventTick_toString-}

```js
toString(): String
```

Returns the event name followed by `:{}`.

**Returns:** the event name followed by `:{}`
