AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkMouseJoint.SetTarget Method (Single, Single)

Sets the target point in world coordinates that the mouse joint will attempt to move the attached body towards.

Syntax
Pascal
procedure SetTarget(const X: Single; const Y: Single); overload;
Parameters 
Description 
const X: Single 
The X coordinate of the new target. 
const Y: Single 
The Y coordinate of the new target. 
Copyright (c) 2012. All rights reserved.