public bool MouseMove(int x, int y, RoomEditorState state)
{
if (!_movingCharacterWithMouse) return false;
int newX = (x + state.ScrollOffsetX) / state.ScaleFactor - _mouseOffsetX;
int newY = (y + state.ScrollOffsetY) / state.ScaleFactor - _mouseOffsetY;
return MoveCharacter(newX, newY);
}