Skip to content

follow function with optional x and y params #101

Description

@stann-co

as suggested by Tom in GmKitchen

small thing and super easy to do yourself but it might be nice to have some way to customise what variables get followed when following an instance 
I notice by default follow follows the instances x/y but I have a slight disconnect between real position and sub pixel draw position so I had to edit the library to make it follow that
another use case I could think of is following with an offset for some reason

could add a new follow function, that let's you specify what variables on the follow function that counts as x and y.
in case you have some specific variables, like an offset, or subpixels, or just a specific point on an object

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions