Skip to content

pMouseX/Y only updates on mouse movement and not with new frame #1162

@chonigman

Description

@chonigman

Not sure if this is a bug but it seems there are some different behaviors between the latest p5 libraries (starting with 0.4.18) and the version that comes with the p5 editor.

When developing using the editor, pmouseX/Y seems to update with the new frame so if the mouse stops moving pmouseX/Y will equal mouseX/Y on the next frame. However, with 0.4.18 and 0.4.19, when the mouse stops moving pmouseX/Y does not equal the current mouseX/Y values.

Is this the desired behavior?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions