Capturing touch events that fall outside an object

I’m trying to capture a touch event in an app I’m making. It is captured fine when the touch starts and endeds within the bounds of the object. However if the touch event ends outside the object it is not caught. I need to capture the touch even if it ends outside the object where it started. Does anyone know how to do this?

Thank you

Read this.  It will show you how to do what you’re trying to achieve:

https://docs.coronalabs.com/daily/api/type/StageObject/setFocus.html

Read this.  It will show you how to do what you’re trying to achieve:

https://docs.coronalabs.com/daily/api/type/StageObject/setFocus.html