---
title: "PlacementScope"
sidebar_label: "PlacementScope"
description: "Kotlin binding reference: PlacementScope."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[PlacementScope](index.md)

# PlacementScope

[common]\
class [PlacementScope](index.md)(where: [Placement](../Placement/index.md))

While open, where is the calling thread's ambient placement: every call that names no placement takes it. Thread-local; scopes nest and each restores what it displaced.

## Constructors

| | |
|---|---|
| [PlacementScope](PlacementScope.md) | [common]<br>constructor(where: [Placement](../Placement/index.md)) |

## Functions

| Name | Summary |
|---|---|
| [close](close.md) | [common]<br>open fun [close](close.md)() |