---
title: Event Condition
description: The Event Condition class allows you to define conditions for the execution of a module. For example, you can condition the execution of a module based on the velocity of a projectile. To create a new class based on Event…
url: "https://www.lostingamestudio.com/documentation/impact-designer/impact-effects/event-condition/"
updated: "2024-06-27"
category: Impact Effects
---

# Event Condition

The Event Condition class allows you to define conditions for the execution of a module. For example, you can condition the execution of a module based on the velocity of a projectile.

To create a new class based on Event Condition, you can do it quickly using the context menu. Choose Impact Designer > Event > Module Event Condition.

## Class Function

- **Evaluate** : You must override this function and return a boolean which indicates whether the module can execute the action. It's up to you to define the conditions.

## Pre-integrated Event Condition

### Velocity Based Condition

Condition the execution of the module according to the velocity. If the velocity is lower than *Min Velocity*, then the module does not execute the action.

- **Min Velocity** : The minimum velocity of the projectile before impact.
