diff --git a/src/module/canvas/token/object.ts b/src/module/canvas/token/object.ts index 5de22e25056..7b1d947e0b2 100644 --- a/src/module/canvas/token/object.ts +++ b/src/module/canvas/token/object.ts @@ -172,7 +172,15 @@ class TokenPF2e extends const reach = context.reach ?? actor.getReach({ action: "attack" }); - return actor.canAttack && reach >= this.distanceTo(flankee, { reach }); + return ( + actor.canAttack && + reach >= this.distanceTo(flankee, { reach }) && + !CONFIG.Canvas.polygonBackends.move.testCollision(this.center, flankee.center, { + mode: "any", + type: "move", + source: new foundry.canvas.sources.PointMovementSource({ object: this }), + }) + ); } /**