![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
15/06/2011, 14:06
|
![Avatar de eveldevil](http://static.forosdelweb.com/customavatars/avatar197657_1.gif) | | | Fecha de Ingreso: octubre-2007
Mensajes: 84
Antigüedad: 17 años, 4 meses Puntos: 6 | |
Respuesta: Duda con arrastrar y soltar Para saber si son del mismo tipo podes asignar un valor para la silueta y que sea igual tambien en el objeto.
objeto1.tipo="tipo1";
objeto2.tipo="tipo1";
De esta manera los podes comparar despues de hacer hitTestObject. |