Skip to main content

startY

startY : Number

The clientY from the most recent onPress touch/pointer event, which refers to the vertical distance from the top edge of the viewport. This only gets updated if you set the type to include "touch" and/or "pointer". It's quite useful for dragging logic.

Details

The clientY from the most recent onPress touch/pointer event, which refers to the vertical distance from the top edge of the viewport. This only gets updated if you set the type to include "touch" and/or "pointer". It's quite useful for dragging logic.

Contents