Skip to content

Resizing causes Touching mouse pointer sensing failure #1665

@Mr-Dave2

Description

@Mr-Dave2

Expected Behavior

A sprite should be able to sense the mouse pointer over its entire area even if it is resized.

Actual Behavior

A sprite that is doubled in size can only sense the mouse pointer when it is over is original size area.

Steps to Reproduce

Run this project in compatibility mode: https://beta.scratch.mit.edu/compatibility-testing.html#253064159 (Scratch 3 link: )

Move the mouse across the stage area.
As long as the mouse pointer is touching the picture it should stay doubled in size.

However, when run under Scratch 3, the sprite stops sensing the mouse pointer when the mouse is outside of the area defined by the sprite's 100% size area.

I believe that this problem is one of the issues mentioned in this post, which uses drawings for sprites instead of a picture, but has the same sprite-resized-touching-the-mouse issue. : https://scratch.mit.edu/discuss/topic/308114/?page=13#post-3282365

BTW, Clicking on the Sprite seems to reverse the sensing behavior (i.e. The 100% sized sprite senses the mouse pointer when its over the area that would be shown when at 200% size).

Operating System and Browser

Windows 7, Firefox 62.0.3 (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions