Change mouse speed based on health

I have a blueprint for a sliding pawn constrained to an axis controlled by my mouse.

As I move my mouse everything works fine, but I want it to go slower based on the player’s health. It’s currently a regeneration health system, so less health, slower mouse movement, and recharged back to normal speed.

I attached the blueprint of the movement setup.

hi again :slight_smile:

you could multiply your axis value by (CurrentHealth / MaxHealth)

I’m not sure I have it set up correctly. My mouse won’t move at all now.

I get some results with this, but it’s hard to notice to the difference. I need to decrease the speed even more.

I got it now. I put in a float - float in between the health and the multiply. Thanks again!