Hallo!
Wie kann ich das am besten machen?
Hab bis jetzt ein Objekt Maus und die position bestimme ich mit:
Delphi-Quellcode:
Position.X := (mouse.CursorPos.x - 0.5*AufloesungX) + (width / 2);
Position.Y := (mouse.CursorPos.Y - 0.5*AufloesungY) - (height / 2);
Allerdings bewegt sich das Objekt viel schneller zum Rand hin als die Maus...
Danke für alle Tips,