Skip to content

abstract struct SF::Event::MouseMoveEvent
inherits SF::Event #

Mouse move event parameters (see MouseMoved)

Direct known subclasses

SF::Event::MouseMoved

Constructors#

Methods#

#dup : MouseMoveEvent#

Returns a shallow copy of this object.

Because Value is a value type, this method returns self, which already involves a shallow copy of this object because value types are passed by value.

View source

#x : Int32#

X position of the mouse pointer, relative to the left of the owner window

View source

#x=(x : Int)#

View source

#y : Int32#

Y position of the mouse pointer, relative to the top of the owner window

View source

#y=(y : Int)#

View source