#summary stylus functions =Stylus Functions= These functions return useful information about the touch screen. * `Stylus.X()` * `Stylus.Y()` * `Stylus.Down()` * `Stylus.Released()` * `Stylus.Newpress()` ==`Stylus.X()`== Returns the `X` position of the stylus on the touch screen as an integer between 0 and 255. ==`Stylus.Y()`== Returns the `Y` position of the stylus on the touch screen as an integer between 0 and 191. ==`Stylus.Down()`== Returns `true` if the stylus is touching the screen. Else it returns `false`. ==`Stylus.Released()`== Returns `true` if the stylus has just been released. Else it returns `false`. ==`Stylus.Newpress()`== Returns `true` if the stylus has just started touching the screen. Else it returns `false`. [DSLuaDocumentation Back to index]