Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This extension add a behavior that allow you to make a custom cursor from a sprite object.
You can (for the moment) use 2 animations:
How to use the extension
Add the behavior to a sprite object. The sprite object must meet the following criteria:
Have at least one animation (name it "idle"; see below to know how to use a custom name)
Origin point should be placed where you intend the user to click. It allow the behavior to correctly place the sprite (the location you use to click with the sprite should match the location used to click with the system cursor)
Optional The center point allow you to rotate the sprite around where you are supposed to click (the tip of your system cursor). Usefull when you want to rotate your sprite in the editor
Customize behavior
Add an animation that will be played when the user is pressing the right click
Use another animation name
Checklist
What tier of review do you aim for your extension?
Community (Unreviewed)
Example file
Demo Custom Cursor.zip
Extension file
CustomCursor.json.zip