# (abs / floor / sqrt / sin / cos) of ( )｜积木用法详解

> 「(abs / floor / sqrt / sin / cos) of ( )」属于 Scratch 3.0 的「运算积木」分类，是搭建互动游戏、动画与实用小工具时常用的核心积木。

Scratch 3.0 积木词典：(abs / floor / sqrt / sin / cos) of ( ) (运算积木). 「(abs / floor / sqrt / sin / cos) of ( )」属于 Scratch 3.0 的「运算积木」分类，是搭建互动游戏、动画与实用小工具时常用的核心积木。

## 积木作用与使用场景

「(abs / floor / sqrt / sin / cos) of ( )」属于 Scratch 3.0 的「运算积木」分类，是搭建互动游戏、动画与实用小工具时常用的核心积木。

建议先在空白项目里单独拼出下面的最小示例，点击绿旗前先预测效果，再改动一个数值对比变化。

## 动手试一试示例

参照下方 Scratch 3.0 积木组合在编辑器中测试：

**(abs / floor / sqrt / sin / cos) of ( )**

- When green flag clicked
- Forever
-   Set y to ((sin of ((timer) * (200))) * (15))

动手试一试: Makes a coin or ghost bob smoothly up and down like a wave.

## 相关积木指南

建议先在空白项目里单独拼出下面的最小示例，点击绿旗前先预测效果，再改动一个数值对比变化。

- [返回「运算积木」总览](/zh-cn/dictionary/operators/): 运算积木
- [返回 Scratch 积木词典首页](/zh-cn/dictionary/): Scratch 3.0

更新日期: 2026-11-23
作者: [铃木孝昌 (Takamasa Suzuki)](https://scratch.gmnavi.jp/about/author/)
Japanese Edition: https://scratch.gmnavi.jp/dictionary/operators/math-function/

[Scratch大全 (简体中文)](https://scratch.gmnavi.jp/zh-cn/)
