getMouseY.lua 489 B

1234567891011121314151617181920212223
  1. return {
  2. tag = 'system-mouse',
  3. summary = 'Get the y position of the mouse.',
  4. description = 'Returns the y position of the mouse.',
  5. arguments = {},
  6. returns = {
  7. y = {
  8. type = 'number',
  9. description = 'The y position of the mouse, relative to the top-left of the window.'
  10. }
  11. },
  12. variants = {
  13. {
  14. arguments = {},
  15. returns = { 'y' }
  16. }
  17. },
  18. related = {
  19. 'lovr.system.getMouseX',
  20. 'lovr.system.getMousePosition',
  21. 'lovr.mousemoved'
  22. }
  23. }