# Is there a move block in X

**URL:** https://community.thunkable.com/t/is-there-a-move-block-in-x/34429
**Category:** Questions about Thunkable X
**Created:** [July 5, 2018, 3:55pm UTC](https://community.thunkable.com/t/is-there-a-move-block-in-x/34429 "2018-07-05T15:55:23Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![jeem](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@jeem](https://community.thunkable.com/u/jeem)
#### Post date: [July 5, 2018, 3:55pm UTC](https://community.thunkable.com/t/is-there-a-move-block-in-x/34429/1 "2018-07-05T15:55:23Z")

</div>

I am trying to recreate the MoleMash for App Inventor 2 using Cross platform. In the Android version they have a “Call sprite/image and move to x and y coordinates”. How can I randomly position an image/sprite using cross platform ? Thanks

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [July 5, 2018, 5:46pm UTC](https://community.thunkable.com/t/is-there-a-move-block-in-x/34429/2 "2018-07-05T17:46:22Z")

</div>

You can see an example of random positioning on the “Game 1” screen in the demo project:

[https://x.thunkable.com/projects/5b1e34c577dd8ed3cf40b07a/project/properties/designer/](https://x.thunkable.com/projects/5b1e34c577dd8ed3cf40b07a/project/properties/designer/)

---

<div class="post-metadata">

### Author: ![Andrea\_Marchisio](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Andrea\_Marchisio](https://community.thunkable.com/u/Andrea_Marchisio)
#### Post date: [July 5, 2018, 7:02pm UTC](https://community.thunkable.com/t/is-there-a-move-block-in-x/34429/3 "2018-07-05T19:02:47Z")

</div>

Hello,  
very good but in the screen “Get info” if I wanted to store one of the data … for example “type” and save it somewhere how do I do it?

Andrea

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [July 6, 2018, 6:00am UTC](https://community.thunkable.com/t/is-there-a-move-block-in-x/34429/4 "2018-07-06T06:00:50Z")

</div>

Hello,

This can be done in the following ways:

1. Through the Firebase JavaScript API - quickly and reliably, but difficult
2. Through the web server - simple, but slow and not very reliable
3. Put the data in the window.prompt dialog and copy this data from there in the native part

The second option you can see in the project

[https://x.thunkable.com/projects/5af67d033098b30001ec63ef/project/properties/designer/](https://x.thunkable.com/projects/5af67d033098b30001ec63ef/project/properties/designer/)

Alex

---

<div class="post-metadata">

### Author: ![Paolo\_Yu](https://avatars.discourse-cdn.com/v4/letter/p/bbce88/32.png) [@Paolo\_Yu](https://community.thunkable.com/u/Paolo_Yu)
#### Post date: [August 10, 2020, 11:57pm UTC](https://community.thunkable.com/t/is-there-a-move-block-in-x/34429/5 "2020-08-10T23:57:31Z")

</div>

Hi,

Is there a working link for this? The link is currently dead. I’d like to randomize location for a sprite as well based on a timer.

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [August 11, 2020, 7:37am UTC](https://community.thunkable.com/t/is-there-a-move-block-in-x/34429/6 "2020-08-11T07:37:40Z")

</div>

Hi,

[https://x.thunkable.com/projects/5de6b20b4d23f65c96220990/project/properties/designer/](https://x.thunkable.com/projects/5de6b20b4d23f65c96220990/project/properties/designer/)

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [August 11, 2020, 9:26am UTC](https://community.thunkable.com/t/is-there-a-move-block-in-x/34429/7 "2020-08-11T09:26:20Z")

</div>

> [@jeem](#):
>
> I am trying to recreate the MoleMash

@jeem @Paolo_Yu This reminded me of @joannietw’s “whac-a-mole” game that she tweeted about recently.

> <https://twitter.com/joaniehuang/status/1286675825681559553?s=20>

There are a couple of ways to do random movement, but here’s one approach you could use:

 ![move_randomly](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/8/e8cc289c7b5c41bad30b4d271e383ed44746238c.png)

Hope that helps

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:02pm UTC](https://community.thunkable.com/t/is-there-a-move-block-in-x/34429/8 "2024-11-08T12:02:14Z")

</div>


