How to disable X-Axis

Im a beginner at C++

I would like to know if someone would show be how to disable the X-Axis is a 2D object, such as a PONG paddle
Topic archived. No new replies allowed.