Got Error in Constrain

2DK2DK
edited December 2017 in Python Mode

Hi, I'm quite new in Processing.py, so this can be a damn question, but I'm confused using constrain. When I use constrain with three variables; constrain(mouseX,10,width - 10), it will return error that "TypeError: 'int' object is not callable". Is there someone who know how to fix it?

Answers

Sign In or Register to comment.