---
title: "swapchars | open.mp"
description: "Swap bytes in a cell."
canonical: https://omp.itsneufox.com/docs/scripting/functions/swapchars
language: en
---

# swapchars

## Description

| Name | Description |
| --- | --- |
| c | The value for which to swap the bytes. |

## Returns

A value where the bytes are swapped (the lowest byte becomes the highest byte)
