Re: canvas item collisions

Federico Mena Quintero wrote:
> >  Is there an event for canvas item collisions?  For example, the first item
> >  goes from not contacting the second item, to then contacting it.  It would be
> >  akin to the mouse_over event.
> There is no such event.  This would be really hard to do in a generic
> way; you would basically force canvas items to implement a method to
> give you back a vector path representation of their outline.

Thanks for clearing that up.

> What are you trying to do?  There may be a simpler way to do it.

I think I found a good alternative, which is to do a get_item_at after hiding
the item being dropped.  I just want to check what item is under the one I am


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]