Download

Disable scroll on set movement mode.

Hi, i have problem with scroll when i change movement mode.

Goal - if change movement mode to swimming - flying - Mouse wheel disable.

springarm-change.png

Get the CharacterMovement. Get the MovementMode. Compare it to Swimming or flying, or what ever you want. Use a Branch and false/true to disable the MouseWheel.

Example: GetCharacterMovement->GetMovementMode then MovementMode != flying -> branch -> true -> Set TargetArmLength.

Thanks!, work great :slight_smile:

workok.png

Too make this a bit prettier, you can drag out a bool return and search for “OR”. It’s a logical OR, that will result in TRUE if one of the inputs is true, so you can plug
IsFalling and IsSwimming in the OR, and the return of the OR in to one Branch. (: