Skip to content

[p5.js 2.0 Beta Bug Report]: mouseButton returns false #7753

Open
@DylanBKendall

Description

@DylanBKendall

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)

p5.js version

2.0.0

Web browser and version

Brave Version 1.77.97

Operating system

Windows

Steps to reproduce this

If you simply left click, this print statement will return false

function mousePressed() {
print(mouseButton === LEFT);
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions