Getting ready for exams.
Posted: Thu Mar 23, 2017 7:24 pm
Just do it . . . Questions and answers about the LiveCode platform.
https://forums.livecode.com/
Code: Select all
Put random(6)+random(6) into tNumSteps
put the CurrentPosition of button "Player1" into tPos
add tNumSteps to tPos
set the loc of btn "Player1" to the loc of grc tPos of group "grid"
set the CurrentPosition of btn "Player1" to tPos