How can I change the gravity for my game?

I’m trying to make a boss fight where the player’s gravity gets changed. I’ve seen extensions and tutorials on how to flip gravity, but I also want the gravity to change on the X axis (left and right). Does anyone know how to do this?

There’s a change world gravity, which you apply to an object and specify the X & Y components. It’s a physic behaviour attribute you can set in event actions. Note it’ll affect every object with Physics behaviour enabled:

Thank you so much! This is a big help!