How to change a stationary wall to a moving wall by scheme command?
![Valérie Gelbgras](https://us.v-cdn.net/6037473/uploads/defaultavatar/nJ0MPCXK3SI3C.jpg)
Valérie Gelbgras
Member, Employee Posts: 157
✭✭✭✭
Answers
-
We can use the following command to change the wall with ID = 1 to a moving wall:
(send (get-thread 1) set-var! 'motion-bc 1)
To revert back to a stationary wall, we can use:
(send (get-thread 1) set-var! 'motion-bc 0)
0