# AndEngine: edit elasticity on action

I'm making a game for Android with AndEngine.

It's going quite well, but now I'm stuck on something. My main character has a elasticity set in its fixturedef so it bounces around throughout the game. Now i want the user to be able to not let the player bounce when he does a control.

So my question: how can I modify the elasticity of my character? Because I saw you can adjust the setDensity and setFriction, but I cant see the setElasticity....

ArrayList<Fixture> fixtureList = body.getFixtureList();

This is because elasticity is expressed as a coeficient of restitution. Look for setRestitution (float restitution).