Hi
Please use FindLayerAt:
https://www.imageen.com/help/TImageEnView.FindLayerAt.html
Here is an example:
// Show which layer is under the cursor
procedure TMainForm.ImageEnView1MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);
var
lyr: Integer;
begin
lyr := ImageEnView1.FindLayerAt( X, Y );
if lyr < 0 then
lblLayer.Caption := 'Layer: None'
else
lblLayer.Caption := 'Layer: ' + IntToStr( lyr );
end;
Nigel
Xequte Software
www.imageen.com