Code not working like in example

Yeh, so I used the drawing line example and its not working exactly as I expected it to. The code is the exact same as the example.




Screen Shot 2025-02-22 at 8.27.52 AM