I need help with changing the opacity(transparency) of the objects and dragging the objects. I can change the opacity(transparency) but when I do the objects are no longer draggable.
The image below sheds more light on the question
The relevant lines for fill colour are lines 54-74
The relevant lines for dragging objects are lines 117-161
You can run and edit the code using P5.js editor,
This is the link to the code.
Via Active questions tagged javascript - Stack Overflow https://ift.tt/2FdjaAW
Comments
Post a Comment