MouseEventArgs.position Property

Parent Object: MouseEventArgs
Defined in namespace "adsk::core" and the header file is <Core/UserInterface/MouseEventArgs.h>

Description

Gets the coordinate of the mouse in screen space.

Syntax

"mouseEventArgs_var" is a variable referencing a MouseEventArgs object.

# Get the value of the property.
propertyValue = mouseEventArgs_var.position
"mouseEventArgs_var" is a variable referencing a MouseEventArgs object.
#include <Core/UserInterface/MouseEventArgs.h>

// Get the value of the property.
Ptr<Point2D> propertyValue = mouseEventArgs_var->position();

Property Value

This is a read only property whose value is a Point2D.

Version

Introduced in version August 2014