Jump to content
Search Community

pointer and svg

JasonD test
Moderator Tag

Recommended Posts

Hey @BrownsFanForLife,

 

The path is exclusive of the X. Therefore, the trigger area is also limited to the gray area.
Here is a 'slightly larger' example:

 

See the Pen gOppZYP by mikeK (@mikeK) on CodePen


Simply place a larger circle over it as a trigger object.

For the above case test

  <rect id="button" width="300" height="120" style="fill:transparent" />

 

Happy tweening ...

Mikel

  • Like 4
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...