GETPOSITION

This GetPosition component is enables a user to get the current mouse position value.

Screenshot

Ports

The GetPosition component exposes Control In, Control Out and Data Out ports by default.

Port Description
Control In Must be connected to the Control Out port of one or more components.
Control Out Must be connected to the Control In port of any other component.
Data Out The GetPosition component exposes the following Data In ports by default:
Left: Return the Mouse position from Left.
Top: Return the Mouse position from Top.

Properties

To edit the properties of the GetPosition component, in the Properties window, change the required property. User can edit the following properties.

Property Description
Search Search for the respective property.
Delay After Execution Specifies the wait time (in seconds) after the action is executed.
Delay Before Execution Specifies the wait time (in seconds) before the action is executed.

Example

Let us consider an example

Screenshot

1.In the Toolbox, expand the Utilities and then expand the Mouse.

2.Drag the GetPosition component and drop it on the Design surface.

3.Connect the Control ports in the activity.

4.In the toolbar, click Run.