Logic · Step
Cancel: a player hits an entity
Stops this from happening, as if it never did: a player hits an entity. Only in a flow that starts before a player hits an entity, before any Wait.
m.on.pre_player_attack_entity.cancel
In a flow
“Before a player hits an entity → If something → Cancel: a player hits an entity”
Before a player hits an entity → If something → Cancel: a player hits an entity
What it does
Stops this from happening, as if it never did: a player hits an entity. Only in a flow that starts before a player hits an entity, before any Wait. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Logic in the palette.
When to use it
Use it to decide what happens next: stops this from happening, as if it never did: a player hits an entity. Only in a flow that starts before a player hits an entity, before any Wait.
When not to
If nothing should change in Discord, a value node or a check is lighter.