# Moving SpriteNode while Jumping Contact Delegate

**URL:** <https://forums.kodeco.com/t/moving-spritenode-while-jumping-contact-delegate/34553>\
**Category:** Sprite Kit\
**Created:** [September 19, 2017, 3:38am UTC](https://forums.kodeco.com/t/moving-spritenode-while-jumping-contact-delegate/34553 "2017-09-19T03:38:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkmatter](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/darkmatter/32/81494_2.png) [@darkmatter](https://forums.kodeco.com/u/darkmatter)\
**Post date:** [September 19, 2017, 3:38am UTC](https://forums.kodeco.com/t/moving-spritenode-while-jumping-contact-delegate/34553/1 "2017-09-19T03:38:56Z")

</div>

Hey I am having a rough time with a bug in spritekit.

I have my spritenode moving left and right. When the spritenode hits the floor I change my boolean from spritenode.isJumping = true to spritenode.isJumping = false.

But when I am holding down a direction to move left or right…sometimes the contact delegate does not register the hit on the floor thus leaving the spritenode as spritenode.isJumping = true all the time until I walk on another floor node.

---

<div class="post-metadata">

**Author:** ![liamnichols](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/liamnichols/32/97664_2.png) [@liamnichols](https://forums.kodeco.com/u/liamnichols)\
**Post date:** [September 28, 2017, 8:01pm UTC](https://forums.kodeco.com/t/moving-spritenode-while-jumping-contact-delegate/34553/2 "2017-09-28T20:01:29Z")

</div>

hi @darkmatter, could you possibly share some of the code to help us better understand the issue? Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [March 4, 2018, 7:39pm UTC](https://forums.kodeco.com/t/moving-spritenode-while-jumping-contact-delegate/34553/3 "2018-03-04T19:39:06Z")

</div>

This topic was automatically closed after 166 days. New replies are no longer allowed.
