I want a TargetLine in a square to appear at a new position in a square every time I start it.
I am failing with the code…
With the help of ChatGPT I was able to write a code but I still get error messages when executing it
at _1_try.Main.spawnTargetLineRandomly(Main.java:246)
TargetLine is in the main.
extra function spwanTargetLineRandomly is there, filled with ChatGPT Code
no porblems are shown but doesnt execute, just with the given error
AnylogicLooser is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.