How can I Invert a float in blueprint?

Can’t figure out what I would use to invert a float.

Turn “-1.0” into "1.0 and “1.0” into “-1.0”

Is it just a * 1?

Yeah, just multiply by -1.

-Nick

2 Likes

Or you can use “negate (float or int)”

Make Get Moveforward Float An Inversed One In BP?

This works, mark as answered.

If someone is looking for a solution without execution pins making a simple macro will do

1 Like

TYSM for solving my problem <3