Is it ok to control player movement by gameplay ability?

I read somewhere that you shouldn’t tie movement (wasd) to a gameplay ability.

I’m just trying to block/allow player movement while other abilities are active/inactive. I thought it’d be easier to handle movement inside gameplay ability, because it can be cancelled/blocked by other abilities.

Is that OK? Thanks.

i’d say no, GAs are usually instantiated latent actions. movement is usually on tick (Input action triggers).

that said there is nothing to stop you from checking ‘CanMove’ which checks the ownertags on tick

1 Like