diff --git a/osu.Game/Skinning/Editor/SkinBlueprintContainer.cs b/osu.Game/Skinning/Editor/SkinBlueprintContainer.cs
index 46f5c1e67f..5a1ef34151 100644
--- a/osu.Game/Skinning/Editor/SkinBlueprintContainer.cs
+++ b/osu.Game/Skinning/Editor/SkinBlueprintContainer.cs
@@ -11,9 +11,12 @@ using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Screens;
using osu.Framework.Testing;
+using osu.Framework.Input.Events;
using osu.Game.Rulesets.Edit;
using osu.Game.Screens;
using osu.Game.Screens.Edit.Compose.Components;
+using osuTK;
+using osuTK.Input;
namespace osu.Game.Skinning.Editor
{
@@ -90,6 +93,47 @@ namespace osu.Game.Skinning.Editor
base.AddBlueprintFor(item);
}
+ protected override bool OnKeyDown(KeyDownEvent e)
+ {
+ switch (e.Key)
+ {
+ case Key.Left:
+ moveSelection(new Vector2(-1, 0));
+ return true;
+
+ case Key.Right:
+ moveSelection(new Vector2(1, 0));
+ return true;
+
+ case Key.Up:
+ moveSelection(new Vector2(0, -1));
+ return true;
+
+ case Key.Down:
+ moveSelection(new Vector2(0, 1));
+ return true;
+ }
+
+ return false;
+ }
+
+ ///
+ /// Move the current selection spatially by the specified delta, in screen coordinates (ie. the same coordinates as the blueprints).
+ ///
+ ///
+ private void moveSelection(Vector2 delta)
+ {
+ var firstBlueprint = SelectionHandler.SelectedBlueprints.FirstOrDefault();
+
+ if (firstBlueprint == null)
+ return;
+
+ // convert to game space coordinates
+ delta = firstBlueprint.ToScreenSpace(delta) - firstBlueprint.ToScreenSpace(Vector2.Zero);
+
+ SelectionHandler.HandleMovement(new MoveSelectionEvent(firstBlueprint, delta));
+ }
+
protected override SelectionHandler CreateSelectionHandler() => new SkinSelectionHandler();
protected override SelectionBlueprint CreateBlueprintFor(ISkinnableDrawable component)