[Paid] XYTouchView - Allows you to create interactive, traceable path animations. It supports SVG paths, built-in shapes, character tracing (A-Z, 0-9)

🧩 XYTouchView

An extension for MIT App Inventor 2.
Allows you to create interactive, traceable path animations. It supports SVG paths, built-in shapes, character tracing (A-Z, 0-9), and advanced visual effects like neon glows and arrow hints. Developed by TechHamara using Fast.
Find More Extension
Terms & Conditions
Find More On BuyMeCoffee Page

:memo: Specifications


:package: Package: io.th.xytouchview
:floppy_disk: Size: 43.40 KB
:gear: Version: 1.0
:iphone: Minimum API Level: 21
:date: Updated On: 2026-01-24T18:30:00Z
:computer: Built & documented using: FAST v2.8.4
:placard: Library Used Thanks you Aghajari for your TouchView library.
:heavy_dollar_sign: Price 4USD Buy here BuyMeCoffee
:placard: Find More info on GitHub

Demo

blocks (39)




Arrow Indicator

Xytouch8
Xytouch7

Background Customisation

Xytouch6
Xytouch5
Xytouch4
Xytouch3
Xytouch2
Xytouch1

Blocks

OnStartTrackingTouch_Event
OnProgressChanged_Event
OnAnimationStart_Event
OnAnimationEnd_Event
OnStopTrackingTouch_Event


Initialize_Method
PathFromDataAndCenter_Method
HelperArrowsByParams_Method
GetCurrentPosition_Method
AnimateArrowFlow_Method
Animate_Method
Reset_Method


TouchedColor_Get_Property
StrokeWidth_Set_Property
StrokeWidth_Get_Property
Step_Set_Property
Step_Get_Property
Shape_Set_Property
Progress_Set_Property
Progress_Get_Property
PathLength_Get_Property
PathFromData_Set_Property
PathFromBuiltIn_Set_Property
IsTouching_Get_Property
HoverColor_Set_Property
HoverColor_Get_Property
HelperArrowsStrokeWidth_Set_Property
HelperArrowsStrokeWidth_Get_Property
HelperArrowsEnabled_Set_Property
HelperArrowsEnabled_Get_Property
HelperArrowsColor_Set_Property
HelperArrowsColor_Get_Property
HelperArrows_Set_Property
Character_Set_Property
BackgroundImage_Set_Property
BackgroundGradientColor_Set_Property
BackgroundColor_Set_Property
AnimateArrowHint_Set_Property
TouchingHoverColor_Set_Property
TouchingHoverColor_Get_Property
TouchedRandomMixedShape_Set_Property
TouchedNeonEnabled_Set_Property
TouchedNeonColor_Set_Property
TouchedGradientColor_Set_Property
TouchedColor_Set_Property

Documentations

Events:

XYTouchView has total 5 events.

OnProgressChanged

Triggered when progress changes.

Parameter Type
progress number

OnStartTrackingTouch

Triggered when tracking starts.

OnStopTrackingTouch

Triggered when tracking stops.

OnAnimationStart

Triggered when animation starts.

OnAnimationEnd

Triggered when animation ends.

Methods:

XYTouchView has total 7 methods.

Initialize

Initialize inside an arrangement.

Parameter Type
arrangement component

Animate

Animate the path drawing with duration and start delay.

Parameter Type
duration number
startDelay number

PathFromDataAndCenter

Set the path from an SVG path data string with option to center.

Parameter Type
pathData text
toCenter boolean

HelperArrowsByParams

Set helper arrows by length and gap.

Parameter Type
len number
gap number

AnimateArrowFlow

Animate helper arrows in a wave flow pattern.

Parameter Type
duration number
repeatCount number

Reset

Reset the view.

GetCurrentPosition

Get current touch position as a list [x, y].

  • Return type: list

Designer:

XYTouchView has total 8 designer properties.

HoverColor

  • Input type: color
  • Default value: &HFFDDDDDD

TouchingHoverColor

  • Input type: color
  • Default value: &HFFD3D3D3

TouchedColor

  • Input type: color
  • Default value: &HFF0000FF

StrokeWidth

  • Input type: non_negative_float
  • Default value: 40.0

Step

  • Input type: float
  • Default value: 0.01

HelperArrowsEnabled

  • Input type: boolean
  • Default value: True

BackgroundColor

  • Input type: color
  • Default value: &H00FFFFFF

BackgroundImage

  • Input type: asset

Setters:

XYTouchView has total 22 setter properties.

HoverColor

Get the hover color.

  • Input type: number

TouchingHoverColor

Get the hover color when touching.

  • Input type: number

TouchedColor

Get the touched color.

  • Input type: number

StrokeWidth

Get stroke width.

  • Input type: number

Step

Get step size.

  • Input type: number

Progress

Get current progress (0.0 to 1.0).

  • Input type: number

HelperArrowsEnabled

Check if checking helper arrows are enabled.

  • Input type: boolean

HelperArrowsColor

Set helper arrows color.

  • Input type: number

HelperArrowsStrokeWidth

Set helper arrows stroke width.

  • Input type: number

BackgroundColor

Set background color.

  • Input type: number

BackgroundGradientColor

Set background gradient colors (List of colors).

  • Input type: list

BackgroundImage

Set background image.

  • Input type: text

TouchedGradientColor

Set touched path gradient colors (List of colors).

  • Input type: list

TouchedNeonColor

Set touched neon color.

  • Input type: number

TouchedNeonEnabled

Enable touched neon effect.

  • Input type: boolean

TouchedRandomMixedShape

Enable random mixed shapes effect on touched path.

  • Input type: boolean

PathFromData

Set the path from an SVG path data string Example: M10 10 L100 10 L100 100 L10 100 Z.

  • Input type: text

PathFromBuiltIn

Set path from built-in PathData by index (0-based).

  • Input type: number

Character

Set path for a specific character (A-Z, 0-9).

  • Input type: text
  • Helper type: Type
  • Helper enums: A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, Zero, One, Two, Three, Four, Five, Six, Seven, Eight, Nine

Shape

Set a specific shape by name. Options: Plus, Minus, Multiply, Divide, Equal, Circle, Square, Triangle, Pentagon, Star, Eclipse, Rectangle etc.

  • Input type: text
  • Helper type: ShapeType
  • Helper enums: Plus, Minus, Multiply, Divide, Equal, Circle, Square, Triangle, Pentagon, Star, Ellipse, Rectangle, Trapezium, Parallelogram, Capsule, Leaf, Rhombus, Drop, Diamond, Hexagon, Cloud, Heart

HelperArrows

Set helper arrows positions. List of lists [start, end].

  • Input type: list

AnimateArrowHint

Animate a hint to show starting direction.

  • Input type: number

Getters:

XYTouchView has total 11 getter properties.

HoverColor

Get the hover color.

  • Return type: number

TouchingHoverColor

Get the hover color when touching.

  • Return type: number

TouchedColor

Get the touched color.

  • Return type: number

StrokeWidth

Get stroke width.

  • Return type: number

Step

Get step size.

  • Return type: number

Progress

Get current progress (0.0 to 1.0).

  • Return type: number

HelperArrowsEnabled

Check if checking helper arrows are enabled.

  • Return type: boolean

HelperArrowsColor

Set helper arrows color.

  • Return type: number

HelperArrowsStrokeWidth

Set helper arrows stroke width.

  • Return type: number

IsTouching

Check if currently touching.

  • Return type: boolean

PathLength

Get the total path length.

  • Return type: number

Thanks

@TechHamara

Feel free to contact us any quarry or suggestions.

1 Like