using graphics in python how am I able to contain a movable object within set bounds
eg a ball with obstacles that it will not pass through.

I can produce the ball and obstacles but the ball passes right through the obstacles :(

Which graphics toolkit are you using?
Also need to see some code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.