# Loop on module with a specific category

### Loop only on events of a specific category

```
#$loop|{events,[category_events_mb_id=#$variable|category$#]}|{a}|$#
    {a.name}  
#$/loop|{events,[category_events_mb_id=#$variable|category$#]}|{a}|$#

```

Create a new variable to allow user to select the wanted category from the BO. \
This variable should be setup with **unit** type and "**category\_events\_mb**" as module name.
