diff --git a/source/funkin/editors/character/CharacterEditor.hx b/source/funkin/editors/character/CharacterEditor.hx index ea849b1b..74e59c04 100644 --- a/source/funkin/editors/character/CharacterEditor.hx +++ b/source/funkin/editors/character/CharacterEditor.hx @@ -364,8 +364,9 @@ class CharacterEditor extends UIState { } if (FlxG.mouse.justReleasedRight) { + var mousePos = FlxG.mouse.getScreenPosition(uiCamera); closeCurrentContextMenu(); - openContextMenu(topMenu[2].childs); + openContextMenu(topMenu[2].childs, null, mousePos.x, mousePos.y); } if (FlxG.mouse.pressed && !FlxG.mouse.justPressed) {