Energy pickup adds over the limit

I was trying to do a simple energy pickup.It works fine the only problem being that If for example I have 90% energy and my pickup adds 25% I`ll have 115% energy…How can I make it stop at 100%? (boost=energy)

Hi Atomyc_Nick when you add the +25 use the clamp node so you can set the max value. See the picture.

So it wont get higher then 100 or what ever the max you want.

Thank you,sir!