Space game how to change gravity in blueprints?

hello so im designing a small space game nothing big and i was looking at how i could move the character up and down (z axis) and came to the conclusion that i would need to use the gravity effect. does anyone know how i can achieve this? so far i have the character floating around (no grav) and i am able to move forwards backwards left and right. its just up and down is what puzzles me
thanks for your reply

You can add force to your mesh/primitive component, or you can use the input system to add movement input to your pawn to sidestep using force if you want a more kinematic feel to your game. To add force ‘upward’ get your pawn Up Vector, multiply by -1.0 to get the down direction.

hello thanks for your answer but iv have tried those methods and nothing it refuses to shift

You might have to show us your blueprints then so we can see how you’ve currently implemented movement and where.