[Plugin] Simple Mouse Cursor/Settings

This allows you to quickly setup a mouse cursor and have it interact with Game Objects (GO) and visual scripts (VS) from AGMaker.

agm.windows.editor.x86_64_YpxMP8wPlq

How to install:

  1. Download the plugin and unzip
    baz_mouse_settings.zip (22.9 KB)
  2. Take the addons folder and copy it into your project (if you already have an addons folder it will only add the needed folder and won’t overwrite anything)
  3. Add BindObjects node to the player and add the baz_mouse_cursor GO to it’s data

Video showing steps:

How to make a GO pickable (meaning you click on it, can drag it around, and drop it):

  1. Go the desired GO scene
  2. Add a BazMouseSettings node
  3. Set the SwitchSettings to use
  4. Choose Pickable from the Mouse Action Type

Video showing steps:

How to make a GO clickable (meaning you click on it and can get a custom reaction through visual script):

  1. Go to Project → Project Settings → Input Map and create an input for the left mouse click
  2. Go the desired GO scene
  3. Create a switch that will turn on when clicked (for use in VS)
  4. Add a BazMouseSettings node
  5. Set the SwitchSettings node
  6. Make sure Clickable is selected from the Mouse Action Type
  7. Type in the name of the switch you created in #2

Video showing steps 2-7:

Now in the VS of the GO you can customize whatever reaction you want using both the input for left mouse click and switch as the condition:

How to customize cursor:

  1. Go to the baz_mouse_cursor.tscn
  2. Click on the AnimationPlayer
  3. Find the animations and their respective keyframes and change them out as you please

Video showing steps: