Randomized Point not Draggable

Hello!

I was creating a board where I was testing out the ability to grade questions with graphs, and I made a sketch that makes a point and a circle and the user is awarded credit when they move the point into the circle.

Everything was as expected except when I tried to randomize the starting location of the point - the point became no longer draggable. Is this the expected behavior, a bug, or am I using these randomized values in the incorrect way?

Here’s a simplified demo:

Point A is created using random values, but point B is declared with constants. Point B remains draggable, but point A becomes fixed.

Thank you

That’s by design. Selected values are, by default, fixed. You can add fixed="false" to the <selectRandomNumbers> if you want to overwrite the default.

1 Like