Got Error in Constrain

edited December 2017 in Python Mode

Hi, I'm quite new in, 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?


Sign In or Register to comment.