Re: Error in the button function

9 views
Skip to first unread message

Bruce Sherwood

unread,
Mar 14, 2018, 11:00:42 AM3/14/18
to VPython-users
The button object does not have a "pos" attribute. The following works:

box()
def up():
   print(1)
   
button(text='up rotate',bind=up )

Bruce
Reply all
Reply to author
Forward
0 new messages