# Is it possible to write directly to screen (pixels) on the Arcade?

**URL:** https://forum.makecode.com/t/is-it-possible-to-write-directly-to-screen-pixels-on-the-arcade/510
**Category:** Arcade
**Created:** [September 4, 2019, 5:23am UTC](https://forum.makecode.com/t/is-it-possible-to-write-directly-to-screen-pixels-on-the-arcade/510 "2019-09-04T05:23:22Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![mmoskal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mmoskal/32/20_2.png) [@mmoskal](https://forum.makecode.com/u/mmoskal)
#### Post date: [September 4, 2019, 7:13pm UTC](https://forum.makecode.com/t/is-it-possible-to-write-directly-to-screen-pixels-on-the-arcade/510/8 "2019-09-04T19:13:45Z")

</div>

Screen.blitRow(x, y, src, sx, h) will draw a row of pixels from position Sx in src image. It will draw at x,y on screen and the resulting row will be h pixels high (that is it will scale src.height to h).

It’s mostly useful for ray casting, but you could also use it for general scaling.

---

_[View the full topic](https://forum.makecode.com/t/is-it-possible-to-write-directly-to-screen-pixels-on-the-arcade/510)._
