# Touch Target > **NOTE:** >This attribute is supported since API version 8. Updates will be marked with a superscript to indicate their earliest API version. You can set the touch target for components that support universal click events, touch events, and gestures. ## Required Permissions None ## Attributes
Array<Rectangle> | Rectangle |
Indicates one or more touch targets, including their location and size. NOTE:
The percentage is measured relative to the component itself. x and y can be set to a positive or negative percentage value. For example, when x is set to '100%', the touch target is offset from the right edge of the component by the component's width. When x is set to '-100%', the touch target is offset from the left edge of the component by the component's width. When y is set to '100%', the touch target is offset from the bottom edge of the component by the component's height. When y is set to '-100%', the touch target is offset from the top edge of the component by the component's height. width and height can only be set to positive percentage values. For example, when width is set to '100%', the width of the touch target is equal to that of the component; when height is set to '100%', the height of the touch target is equal to that of the component. |
X coordinate of the touch point relative to the left edge of the component. |
||||
Y coordinate of the touch point relative to the left edge of the component. |
||||