i want to apply force to my game obj to move it left and right when a key action is pressed but how i can do it i need help.
What have you tried so far?
You have an example of movement using keys here: 8 ways movement
And here’s how you apply a force: API reference (physics)