How to get the child of a group, where the pointer is over

Hi

i would like to have a map with spots, which turn around when you hover.
I thought this should be possible with a group, but when i add all spots to a group and set the group interactive all spots move when i hover over one of them. The but only the one my pointer is over should do this animation. So can i get the element of an group, which overlaps with my pointer?

Thank you!

Use the argument in the input callback. http://labs.phaser.io/edit.html?src=src/input\game%20object\multiple%20over%20out.js

Thank you, it works for the spots but unfortunately although the other object, that are interactive, are playing now the animation of the spots when hover…

I think something like this might work:

function childrenCheck() {

var child = this.add.sprite(250, 250, 'boss1');
var child2 = this.add.sprite(250, 250, 'boss1');
var child3 = this.add.sprite(250, 250, 'boss1');
var children = this.physics.add.group();

children.add(child);
children.add(child2);
children.add(child3);

children.getChildren().forEach( function() {
    console.log("Output per child of the group")
});

}

Can you not either

a. Only add the mouse over on the tiles you want

or

b. Use an if statement to determine the property of the callback then perform your action.