STTM is how long the screen has been touched. It will be 0 if the screen is not being touched. The time it returns is in hundredths seconds, I think.
TX and TY simply return the position of the screen that is being touched, or the last touched if the user is no longer touching the screen.
You'll probably want to place TOUCH OUT TS,TX,TY inside your main game loop to get touch info constantly.
Well, since we know STTM tells us how long the touch screen has been touched, and that STTM is 0 if there is no touch, you could do...
TOUCH OUT STTM,TX,TY
IF STTM==1 THEN SPSET ?,?
...to set a sprite the very moment the touch screen is touched.
That's a bit harder, but doable.
Simply check if the touch coordinates match the coordinates of the sprite. If they do, play a sound.
IF STTM==1 THEN
SPOFS <Management#> OUT X,Y
IF ABS(TX-X)<16 && ABS(TY-Y)<16 THEN BEEP
ENDIF
The above conditional checks if the distances between the touch's coordinates and the sprite's coordinates were within the sprites area.