private void ActionButtonMappingAimTo_ActionTriggered(object sender, ActionTriggeredEventArgs e) { Point worldPosition = ScreenToWorld(e.MouseState.Position); if (world.PlayerCharacter.AimToPosition != worldPosition) { world.PlayerCharacter.SetAimToPosition(worldPosition); network.AimTo(world.PlayerCharacter.Id, worldPosition); } }