Hello,
I want to show tilted lines at the specific locations randomly. Is it possible to do this by Builder?If it is not, how can I do this by Coder?
Okay I did this. Apparently “Orientation$” can help you to rotate your line to the direction you want.
hi yes that is correct! although you will want your dollar sign at the start of the box to indicate that that entire field is python code (unless there is already a dollar sign at the start of the box)
You will want something like:
random.randint(180)
(if you want any angle from 360 degrees change 180 to be 360)
In your orientation field.
If you are using online though, make sure to ensure the functions used translate to JS - the crib sheet is useful here
Becca