Reference for get_pointer_y
Get the y coordinate of the mouse pointer. This is part of the reference section.
Arc
Buffer
Data
Dialog
Ellipse
Geo Utils
Image
Joystick (future)
Keyboard
Line
Mouse / Touchscreen
get_pointer_y
Pixel
Rectangle
Renderers
Shape
Sound (future)
Style
System
Text
Transform
Purpose
Get the current vertical coordinate of the mouse pointer or, in the case of a touchscreen, the point of last touch input if available. Defaults to 0 if no mouse events have been seen.
Snippet
Get the current cursor y coordinate.
sketch.get_mouse().get_y()
Examples
Availability
Available for Sketch2DApp and Sketch2DWeb.