How do you deselect something using Thyme?

About advanced scenes, and the Thyme scripting language used in Algodoo.

How do you deselect something using Thyme?

Postby GoatyButt » Sat Aug 19, 2017 11:38 am

I'm pretty sure I've seen it done before, where you click on something and it uses onclick to perform your desired function, and then deselects it with the same onclick. Any help is appreciated!
Fruitmonger's forum account. Find me as GoatyButt most other places as well.
User avatar
GoatyButt
 
Posts: 3
Joined: Sun Aug 28, 2016 5:11 pm

Re: How do you deselect something using Thyme?

Postby Kilinich » Sun Aug 20, 2017 8:09 am

For deselecting: scene.addGroup({name := "selected"}) with empty list
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia


Return to Thyme scripting

Who is online

Users browsing this forum: No registered users and 5 guests

cron