I'm not really shure what you're after.

But getting the mouse coordinates in phoenix is done via the input class:

[pascal]

uses phxInput;

var Input: TPHXInput;
..

Input:= TPHXInput.Create;

Canvas:= TPHXCanvas.Create
while true do

Canvas.Rectangle(Input.Mouse.X - 10, Input.Mouse.Y - 10, Mouse.Input.Mouse.X + 10, Input.Mouse.Y + 10);
end;

[/pascal]