how does the trace() function work, and what is "target.x"? this code creates an entity in the top right corner of screen regardless of where i click on the screen.