pos

カレントポジション設定

pos p1,p2

p1=0~     : カレントポジションのX座標
p2=0~     : カレントポジションのY座標

解説

メッセージ表示、オブジェクトの表示などの基本座標となるカレントポジションの座標を指定します。

Xは一番左が0に、Yは上が0になり、1ドット単位の指定になります。
パラメータの省略をすると、現在の値が使われます。

関連項目

mesメッセージ表示
gcopy画面コピー
line直線を描画

サンプル逆引き (206)

(HSP3) sample3 [VideoMixing].hsp
ahtman_kw.hsp
aplkey3.hsp
arduino_test4.hsp
arduino_test5.hsp
arraynote.hsp
arusave.hsp
atan_grect.hsp
atk01.hsp
atk02.hsp
atk03.hsp
aviplay.hsp
battle.hsp
big_chr.hsp
block1.hsp
block2.hsp
block3.hsp
block3.hsp
block3.hsp
block3_ad.hsp
buffer.hsp
button_test.hsp
calcsheet.hsp
celput.hsp
celputm.hsp
clock2.hsp
cnvaxis.hsp
cnvsrc.hsp
comtest7.hsp
d3m_techdemo.hsp
daytime.hsp
defcfunc.hsp
demo.hsp
dircsv.hsp
dirlist.hsp
dish_sortval.hsp
doukutu.hsp
dragdrop.hsp
drop.hsp
drop_dish.hsp
ease_test1.hsp
ease_test1.hsp
ease_test2.hsp
ease_test2.hsp
ease_test3.hsp
editor.hsp
elm2d_edit.hsp
emath.hsp
emath2.hsp
ene01.hsp
facemove1.hsp
facemove2.hsp
feedback.hsp
folder.hsp
fonts.hsp
ftime.hsp
gblur.hsp
gradf.hsp
gradf.hsp
grect.hsp
groll.hsp
grotate.hsp
grotate.hsp
groupbox.hsp
hidmon_test2.hsp
hsplogo.hsp
hsptv_test.hsp
hsptv_test.hsp
hsptv_test2.hsp
hsptv_test3.hsp
hsptvapp_test.hsp
htcopy1.hsp
htcopy2.hsp
http.hsp
http_test1.hsp
http_test2.hsp
itunes_mon.hsp
joystick1.hsp
joystick2.hsp
joystick3.hsp
keymove1.hsp
keymove2.hsp
keymove3.hsp
keymove4.hsp
kick.hsp
line.hsp
loadsave.hsp
macro.hsp
map1.hsp
map2.hsp
mapedit.hsp
mapmove1.hsp
mapmove2.hsp
mini_chr.hsp
mkexe.hsp
mkfont.hsp
mkpack.hsp
moji.hsp
mouse.hsp
mouse2.hsp
mtouch.hsp
multitouch3.hsp
noframe.hsp
note2.hsp
noteadd.hsp
notefind.hsp
obaqhg1.hsp
obaqhg2.hsp
obaqhg3.hsp
obaqme.hsp
obaqtest.hsp
objfade.hsp
objimage.hsp
objmode.hsp
packopt.hsp
particle.hsp
picfont.hsp
poker.hsp
posteffect.hsp
pronama1.hsp
pronama2.hsp
pronama3.hsp
putimg.hsp
qvbtest.hsp
regtest2.hsp
sample01.hsp
sample02.hsp
sample03.hsp
sample07.hsp
sample08.hsp
sample16.hsp
sample24_DVDPlayer.hsp
sample_01_basic_bbs.hsp
sample_02_memolite.hsp
sample_03_vram_blob.hsp
sample_08_Copy.hsp
sample_17_d3setlocal_shadow.hsp
sampview.hsp
sendmail.hsp
settex.hsp
shoot.hsp
sndedit.hsp
sortnote.hsp
sortrndf.hsp
sortstr.hsp
sortval.hsp
star.hsp
starmove.hsp
stars.hsp
stick.hsp
str.hsp
tamacard.hsp
tamacard_dish.hsp
tamadot.hsp
tamadot_dish.hsp
tamane1.hsp
tamane2.hsp
tamane3.hsp
tamane_jump.hsp
tamane_s.hsp
tamane_s2.hsp
tamane_s2_dish.hsp
tamane_s_dish.hsp
terminal.hsp
test1.hsp
test1.hsp
test10.hsp
test10.hsp
test11.hsp
test12.hsp
test13.hsp
test2.hsp
test2.hsp
test2.hsp
test3.hsp
test3.hsp
test4.hsp
test4.hsp
test4.hsp
test5.hsp
test5.hsp
test6.hsp
test7.hsp
test7.hsp
test8.hsp
test8.hsp
test9.hsp
test9.hsp
tile.hsp
tof2.hsp
tree.hsp
typing.hsp
usbiotest.hsp
utftest3.hsp
utftest4.hsp
vtest1.hsp
vtest2.hsp
web.hsp
xsample_alphapaint.hsp
xsample_Astro.hsp
xsample_diamond.hsp
xsample_gimbal.hsp
xsample_Rocket.hsp
xsample_shiraho.hsp
xsample_verge.hsp
yopparai.hsp

情報

バージョン3.5
作成日2017/09/08
著作者onitama
URLhttp://hsp.tv/
備考ver3.5標準命令
タイプ内蔵命令
グループ画面制御命令
対応環境
  • Windows 版 HSP
  • HSPLet
hs ファイルhsphelp\i_graph.hs