Skip to main content
N.A.G.A
New Participant
February 6, 2024

Use shape boundaries for interactive hotspot instead of rectangular bounding box

  • February 6, 2024
  • 12 replies
  • 1695 views

Hello,

I couldn’t find a feature in Figma where we can constrain trigger or hotspot bounds to a vector shape instead of a rectangular bounding box.

The current version doesn’t support the design use cases similar to those below (eg: interactive pie charts) where transparent pixels are ignored in a non-rectangular shape because the hotspot bounding box is always rectangular. It would be nice to constrain the hotspot area to the desired shape instead of a rectangle. Please check the attached Figma file.
Hotspot bounds.fig (7.0 MB)

Is it possible to include HTML image maps so the hotspot shape can use a polygonal shape? Please check the URL below.

w3schools.com

12 replies

N.A.G.A
N.A.G.AAuthor
New Participant
February 7, 2024

Linking other posts I’ve come across talking about the same issue.
@Josh @Gayani_S @Celine_Figma @y_toku @Heath_Rogers

y_toku
Figmate
Community Support
February 8, 2024

Hi there,

Thank you for providing feedback! As you mention, this is a feature limitation at the moment, so it’s unavailable. I will share this with our internal team. Your input is highly valued, and we will take it into consideration for future enhancements!

Thanks,
Toku

RhizomeTodd
April 9, 2024

This would be extremely valuable, @y_toku. I’m just trying to upvote the concept in order to show more of us would appreciate this ability in Figma. Thanks!

Dan81
April 12, 2024

Agreed @RhizomeTodd @y_toku! I am trying to build a map areas that are hovered over highlight. Unfortunately the winding corridor area gets selected as soon as the mouse enters the map! Would be awesome to have events be based on the shape, not its bounding box.

Dan81
April 12, 2024

(and @N.A.G.A)

Marcus_Harvey
New Participant
September 27, 2024

Another request for this. I am currently unable to correctly prototype a feature because of this limitation.

Marcus_Harvey
New Participant
September 27, 2024

Here’s mine… It’s a tricky subject to search for. Many ways of wording it.

Kelsey3
November 5, 2024

I’m working on an interactive map and also would like this feature to be developed

Brandon28
New Member
January 14, 2025

Same here ^^ !!!

Geoffrey Lord
New Member
January 23, 2025

I’m also working on a map with weirdly-shaped zones that I’m trying to animate with hover and click interactions ! Upvote :)