- Home
- Forum
- Indicators API Help
- Make Drawing Interactive When Mouse Hover
Make Drawing Interactive When Mouse Hover
Make Drawing Interactive When Mouse Hover
I created a custom Anchored Vwap and I use `Chart.DrawVerticalLine` to draw a line and move the custom Anchored VWAP.
I would like to make this VerticalLine interactive ONLY when the indicator is hovered over or selected. Is it possible?
Hi,
The mouse hover event for objects only works if the object is interactive, so if you are using this event and if you make your object non interactive then it will not work.
You can use combination of lock and interactive, set object IsLocked to True unless mouse hover over it.
Copyright © 2023 Spotware Systems Ltd. All rights reserved.