Page 1 of 1

How do I change the color of an item with a laser?

PostPosted: Sat Jan 13, 2018 5:01 am
by Nickcoww
I just want to change the color of a shape, circle for example, using a laser, and I was wondering how to do this. Thanks!

Re: How do I change the color of an item with a laser?

PostPosted: Mon Jan 15, 2018 12:10 pm
by Kilinich
In laser:

onLaseHit = (e) => {e.geom.color = [0.4,0.4,0.4,1]}