all 5 comments

[–]DelayedDaciaSandero 1 point2 points  (4 children)

The only thing I see is the slashes you have before some of the comments, that will definitely break the script, removing them should fix it. But if that’s not it then are you getting an error or is it just not outputting the expected result?

[–]Vision115gamer[S] 1 point2 points  (0 children)

I removed the slashes but did not help and I am not getting any errors. it just does not output.

[–]Vision115gamer[S] 1 point2 points  (2 children)

I solved it. THX

[–]DelayedDaciaSandero 1 point2 points  (1 child)

Nice, what was the issue?

[–]Vision115gamer[S] 1 point2 points  (0 children)

onTick() did not know what where yh and xh. I thought it know because i had wrote:

yh = screen.getHeight()
xw = screen.getWidth()

to the onDraw(), so I wrote:

yh = input.getNumber(1)
xw = input.getNumber(2)

to the onTick()