# Split Screen extension not working with the connect to hardware

**URL:** <https://forum.makecode.com/t/split-screen-extension-not-working-with-the-connect-to-hardware/39745>\
**Category:** Help\
**Created:** [October 12, 2025, 11:41pm UTC](https://forum.makecode.com/t/split-screen-extension-not-working-with-the-connect-to-hardware/39745 "2025-10-12T23:41:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jacob.j](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@jacob.j](https://forum.makecode.com/u/jacob.j)\
**Post date:** [October 12, 2025, 11:41pm UTC](https://forum.makecode.com/t/split-screen-extension-not-working-with-the-connect-to-hardware/39745/1 "2025-10-12T23:41:34Z")

</div>

When I tried to upload a game on to my tinkergen gamego that uses the [split screen extension](https://github.com/riknoll/arcade-split-screen) but it gave two errors in the extension code when I clicked the choose hardware button. I figured out that in the targetOverrides.ts file in the screen drop-down on the js code it has this line when the hardware isn’t chosen

```typescript
let screen = image.create(_screen_internal.getScreenWidth(160), _screen_internal.getScreenHeight(120)) as ScreenImage

```

but when you choose a hardware (anything but the pi0 Linux one) it changes the file so that the screen is declared like this:

```typescript
const screen = _screen_internal.createScreen();

```

the split screen extension has this twice in the file:

```typescript
screen = this.fakeScreen

```

it can do that when the screen is declared using let but not when it is a const. I’m wondering if there is an easy way to fix this or if the developers can.

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [October 15, 2025, 2:13am UTC](https://forum.makecode.com/t/split-screen-extension-not-working-with-the-connect-to-hardware/39745/2 "2025-10-15T02:13:08Z")

</div>

I’m guessing the split screen extension was designed only for the screen in the browser, I believe there are differences in how hardware and the browser create the screen (ex. why you can alter the screen size in the browser but not on hardware) although you’d probably need one of the developers to clarify!
